package com.example.testgit.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.sql.Timestamp;

/**
 * @author: lyh
 * @create: 2023/3/8 11:46
 * Description：
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("student")
public class StudentDO {

    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ExcelProperty("学号")
    private Integer stuId;

    @ExcelProperty("姓名")
    private String stuName;

    @ExcelProperty("专业")
    private String major;

    @ExcelProperty("班级")
    private String classNum;

    @ExcelProperty("学历类别")
    private Integer eduType;

    @ExcelIgnore
    private Timestamp createTime;

    @ExcelIgnore
    private Timestamp updateTime;

    @ExcelProperty("性别")
    private Integer sex;

    @ExcelProperty("生日")
    private Date birthday;

    @ExcelProperty("身份证号")
    private String identityNumber;

    @ExcelProperty("民族")
    private String nation;

    @ExcelProperty("籍贯")
    private String nativePlace;

    @ExcelProperty("户口")
    private String livingPlace;

    @ExcelProperty("婚姻状况")
    private Integer marriage;

    @ExcelProperty("手机")
    private Long mobile;

    @ExcelProperty("政治面貌")
    private Integer politicalAffiliation;

    @ExcelProperty("入学时间")
    private Date registerTime;

    @ExcelProperty("毕业时间")
    private Date graduationTime;

    @ExcelProperty("学院")
    private String institute;

    @ExcelProperty("生源类别")
    private Integer sourceType;

    @ExcelProperty("学制")
    private Integer lengthOfSchool;

    @ExcelProperty("学籍状态")
    private Integer schoolStatus;

    @ExcelProperty("辅导员")
    private String counsellor;

    @ExcelProperty("班主任")
    private String classTeacher;

}